package cn.suhaoblog.oss.entity;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author rambler
 * 读取yaml中oss前缀的配置自动注入到当前类中
 * @since 2020-12-27 18:06
 */
@Getter
@Setter
@ConfigurationProperties(prefix = "oss")
public class OSSConfigBean {
    private String endpoint;
    private String accessKeyId;
    private String accessKeySecret;
}
